package com.scf.service;

/**
 * @author author
 * @create 2021-11-18-14:41
 */

import com.scf.entity.Appendix;
import com.scf.entity.Borrowers;
import com.scf.uitl.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "loan")
public interface AppService {

    
    @PostMapping("/files/allFile")
        public ResponseResult allFile(@RequestBody Appendix appendix);

    @PostMapping("/loan/getInfoByBoid")
    public ResponseResult getInfoByBoid(@RequestBody Borrowers borrowers);
}
